
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-phone"></i>
                    <div class="name">5-电话号码显示</div>
                    <div class="fontclass">.icon-phone</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-money"></i>
                    <div class="name">coin-yen</div>
                    <div class="fontclass">.icon-money</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-location"></i>
                    <div class="name">location2</div>
                    <div class="fontclass">.icon-location</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-refresh"></i>
                    <div class="name">refresh</div>
                    <div class="fontclass">.icon-refresh</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-add"></i>
                    <div class="name">add</div>
                    <div class="fontclass">.icon-add</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-stop"></i>
                    <div class="name">block</div>
                    <div class="fontclass">.icon-stop</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ok"></i>
                    <div class="name">circle-check</div>
                    <div class="fontclass">.icon-ok</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-error"></i>
                    <div class="name">circle-cross</div>
                    <div class="fontclass">.icon-error</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-delete"></i>
                    <div class="name">clear</div>
                    <div class="fontclass">.icon-delete</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-done"></i>
                    <div class="name">done</div>
                    <div class="fontclass">.icon-done</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-info"></i>
                    <div class="name">info-outline</div>
                    <div class="fontclass">.icon-info</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-dot"></i>
                    <div class="name">lens</div>
                    <div class="fontclass">.icon-dot</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-menu"></i>
                    <div class="name">menu</div>
                    <div class="fontclass">.icon-menu</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-circle"></i>
                    <div class="name">panorama-fisheye</div>
                    <div class="fontclass">.icon-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-load"></i>
                    <div class="name">refresh</div>
                    <div class="fontclass">.icon-load</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-search"></i>
                    <div class="name">search2</div>
                    <div class="fontclass">.icon-search</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-trash"></i>
                    <div class="name">trash</div>
                    <div class="fontclass">.icon-trash</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-mail"></i>
                    <div class="name">mail</div>
                    <div class="fontclass">.icon-mail</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-file"></i>
                    <div class="name">document</div>
                    <div class="fontclass">.icon-file</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-edit"></i>
                    <div class="name">uniE649</div>
                    <div class="fontclass">.icon-edit</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-warning"></i>
                    <div class="name">uniE6632</div>
                    <div class="fontclass">.icon-warning</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-window"></i>
                    <div class="name">crm-icon-window</div>
                    <div class="fontclass">.icon-window</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-window-inverse"></i>
                    <div class="name">18 window</div>
                    <div class="fontclass">.icon-window-inverse</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-setting"></i>
                    <div class="name">iconfont-setting</div>
                    <div class="fontclass">.icon-setting</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-home"></i>
                    <div class="name">home</div>
                    <div class="fontclass">.icon-home</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-lock-inverse"></i>
                    <div class="name">lock</div>
                    <div class="fontclass">.icon-lock-inverse</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-switch"></i>
                    <div class="name">setting</div>
                    <div class="fontclass">.icon-switch</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-list"></i>
                    <div class="name">dot-3-list</div>
                    <div class="fontclass">.icon-list</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-rocket"></i>
                    <div class="name">rocket</div>
                    <div class="fontclass">.icon-rocket</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pic"></i>
                    <div class="name">pic</div>
                    <div class="fontclass">.icon-pic</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-document"></i>
                    <div class="name">file</div>
                    <div class="fontclass">.icon-document</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-switch-inverse"></i>
                    <div class="name">setting</div>
                    <div class="fontclass">.icon-switch-inverse</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-folder"></i>
                    <div class="name">folder</div>
                    <div class="fontclass">.icon-folder</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-date"></i>
                    <div class="name">日程</div>
                    <div class="fontclass">.icon-date</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-exit"></i>
                    <div class="name">android-exit</div>
                    <div class="fontclass">.icon-exit</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-apps"></i>
                    <div class="name">android-apps</div>
                    <div class="fontclass">.icon-apps</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-layer"></i>
                    <div class="name">286. Window</div>
                    <div class="fontclass">.icon-layer</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-checkbox"></i>
                    <div class="name">checkbox1</div>
                    <div class="fontclass">.icon-checkbox</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-checkbox-hover"></i>
                    <div class="name">checkbox2</div>
                    <div class="fontclass">.icon-checkbox-hover</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-checkbox-checked"></i>
                    <div class="name">checkbox3</div>
                    <div class="fontclass">.icon-checkbox-checked</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-plus"></i>
                    <div class="name">plus</div>
                    <div class="fontclass">.icon-plus</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-time"></i>
                    <div class="name">time</div>
                    <div class="fontclass">.icon-time</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-like"></i>
                    <div class="name">like</div>
                    <div class="fontclass">.icon-like</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-like-inverse"></i>
                    <div class="name">like2</div>
                    <div class="fontclass">.icon-like-inverse</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-phone-circle"></i>
                    <div class="name">phone-circle</div>
                    <div class="fontclass">.icon-phone-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chat"></i>
                    <div class="name">chat</div>
                    <div class="fontclass">.icon-chat</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-setting-inverse"></i>
                    <div class="name">setting2</div>
                    <div class="fontclass">.icon-setting-inverse</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-good"></i>
                    <div class="name">good</div>
                    <div class="fontclass">.icon-good</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-good-circle"></i>
                    <div class="name">good-circle</div>
                    <div class="fontclass">.icon-good-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-link"></i>
                    <div class="name">link</div>
                    <div class="fontclass">.icon-link</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-back"></i>
                    <div class="name">back</div>
                    <div class="fontclass">.icon-back</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-upload"></i>
                    <div class="name">upload</div>
                    <div class="fontclass">.icon-upload</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-download"></i>
                    <div class="name">download</div>
                    <div class="fontclass">.icon-download</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-download-inverse"></i>
                    <div class="name">download-inverse</div>
                    <div class="fontclass">.icon-download-inverse</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-upload-inverse"></i>
                    <div class="name">upload-inverse</div>
                    <div class="fontclass">.icon-upload-inverse</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-show"></i>
                    <div class="name">show</div>
                    <div class="fontclass">.icon-show</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-hide"></i>
                    <div class="name">hide</div>
                    <div class="fontclass">.icon-hide</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pc-inverse"></i>
                    <div class="name">pc-inverse</div>
                    <div class="fontclass">.icon-pc-inverse</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-pc"></i>
                    <div class="name">pc</div>
                    <div class="fontclass">.icon-pc</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-cart"></i>
                    <div class="name">cart</div>
                    <div class="fontclass">.icon-cart</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chart"></i>
                    <div class="name">chart</div>
                    <div class="fontclass">.icon-chart</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-chart-inverse"></i>
                    <div class="name">chart-inverse</div>
                    <div class="fontclass">.icon-chart-inverse</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-cart-inverse"></i>
                    <div class="name">cart-inverse</div>
                    <div class="fontclass">.icon-cart-inverse</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-notice"></i>
                    <div class="name">notice</div>
                    <div class="fontclass">.icon-notice</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-light"></i>
                    <div class="name">light</div>
                    <div class="fontclass">.icon-light</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-user"></i>
                    <div class="name">user</div>
                    <div class="fontclass">.icon-user</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-notice-circle"></i>
                    <div class="name">notice-circle</div>
                    <div class="fontclass">.icon-notice-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-user-inverse"></i>
                    <div class="name">user-inverse</div>
                    <div class="fontclass">.icon-user-inverse</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-user-circle"></i>
                    <div class="name">user</div>
                    <div class="fontclass">.icon-user-circle</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-radio-checked"></i>
                    <div class="name">radio-checked</div>
                    <div class="fontclass">.icon-radio-checked</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-radio"></i>
                    <div class="name">radio</div>
                    <div class="fontclass">.icon-radio</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-radio-hover"></i>
                    <div class="name">radio-hover</div>
                    <div class="fontclass">.icon-radio-hover</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-up-min"></i>
                    <div class="name">up-min</div>
                    <div class="fontclass">.icon-up-min</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-left-min"></i>
                    <div class="name">left-min</div>
                    <div class="fontclass">.icon-left-min</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-down-min"></i>
                    <div class="name">down-min</div>
                    <div class="fontclass">.icon-down-min</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-right"></i>
                    <div class="name">right</div>
                    <div class="fontclass">.icon-right</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-left"></i>
                    <div class="name">left</div>
                    <div class="fontclass">.icon-left</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-up"></i>
                    <div class="name">up</div>
                    <div class="fontclass">.icon-up</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-down"></i>
                    <div class="name">down</div>
                    <div class="fontclass">.icon-down</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-right-min"></i>
                    <div class="name">right-min</div>
                    <div class="fontclass">.icon-right-min</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-lock"></i>
                    <div class="name">lock</div>
                    <div class="fontclass">.icon-lock</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-theme-inverse"></i>
                    <div class="name">theme_f</div>
                    <div class="fontclass">.icon-theme-inverse</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-theme"></i>
                    <div class="name">theme</div>
                    <div class="fontclass">.icon-theme</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-file-inverse"></i>
                    <div class="name">android-document</div>
                    <div class="fontclass">.icon-file-inverse</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
